package com.igelato.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;


/**
 * @TableName: admin_user
 * @Description: 
 * @Author: wht
 * @Date: 2024-01-27
 */
@Data
    @Accessors(chain = true)
@TableName(value = "admin_user")
public class AdminUser implements Serializable{
                @TableId(value = "id", type = IdType.AUTO)
                private Integer id;
        @ApiModelProperty("支持国外手机号，在手机号前面直接加区号就行。这也是为什么类型为varchar而不是char的原因")
        private String mobile;
        private String password;
        @ApiModelProperty("真实姓名")
        private String true_name;
        private LocalDate birthday;
        @ApiModelProperty("1: 男；2：女；")
        private Byte gender;
        private Integer shop_id;
        @ApiModelProperty("用英文逗号,分隔")
        private String role_ids;
        @ApiModelProperty("1：正常；")
        private Byte status;
        @ApiModelProperty("0：正常；1：删除；")
        private Byte is_deleted;
        private LocalDateTime create_time;
        private LocalDateTime update_time;
@TableField(exist = false)
private static final long serialVersionUID=1L;

        }
